﻿#box-tabs ul {
    height: 80px;
    align-items: center;
    justify-content: space-evenly;
    width: 60%;
    margin: auto;
}

#box-tabs ul li a h4 {
    position: relative;
    margin: 0;
    color: #021f59;
    text-align: center;
    font-size: 18px;
    font-family: "Mohr-SemiBold";
}

#box-tabs ul li a.active h4 {
    color: #00bf44;
}

#box-tabs ul li a.active h4::after {
    content: " ";
    position: absolute;
    height: 4px;
    width: calc(100% + 15px);
    left: 50%;
    bottom: -29px;
    border-radius: 4px 4px 0 0;
    transform: translateX(-50%);
    background-color: #00bf44;
}

#container-content-tabs .container-tabs {
    padding: 60px 3% 90px;
    background-color: #f5f5f5;
}

#container-content-tabs .container-tabs .container-tabs-content {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}

#container-content-tabs .container-tabs .container-tabs-title {
    margin-bottom: 30px;
    color: #707070;
    text-align: center;
    font-size: 30px;
    font-family: "Mohr-LighIt";
}

#container-content-tabs .container-tabs .container-tabs-content .cards {
    display: flex;
    flex-direction: column;
    height: 450px;
    padding: 40px 30px 50px;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 16%);
}

#container-content-tabs .container-tabs .container-tabs-content .cards .card-box-img {
    display: flex;
    height: 160px;
    border-bottom: 1px solid #00bf44;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

#container-content-tabs .container-tabs .container-tabs-content .cards .card-box-img img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

#container-content-tabs .container-tabs .container-tabs-content .cards .card-box-text {
    height: 170px;
    overflow-y: auto;
    padding-right: 5px;
}

#container-content-tabs .container-tabs .container-tabs-content .cards .card-box-text::-webkit-scrollbar {
    width: 10px;
}

#container-content-tabs .container-tabs .container-tabs-content .cards .card-box-text::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #D0D0D0;
}

#container-content-tabs .container-tabs .container-tabs-content .cards .card-box-text .card-text {
    color: #707070;
    font-size: 16px;
    font-family: "Mohr-Medium";
}

#container-content-tabs .container-tabs .title_years {
    display: block;
    font-size: 40px;
    text-align: center;
    color: #021f59;
    font-family: "Mohr-SemiBold";
    margin: 40px auto;
}

@media screen and (max-width:1024px) {
    #container-content-tabs .container-tabs .container-tabs-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width:860px) {
    #box-tabs ul {
        width: 90%;
    }

    #container-content-tabs .container-tabs .container-tabs-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:768px) {
    #box-tabs ul {
        height: auto;
        flex-direction: column;
    }

    #box-tabs ul li {
        padding: 15px 0;
    }

    #box-tabs ul li a.active h4::after {
        bottom: -15px;
    }
}

@media screen and (max-width:600px) {
    #container-content-tabs .container-tabs .container-tabs-content {
        grid-template-columns: 1fr;
    }

    #container-content-tabs .container-tabs .container-tabs-content .cards,
    #container-content-tabs .container-tabs .container-tabs-content .cards .card-box-text {
        height: auto;
        overflow-y: initial;
    }
}